package com.jdk.demo.nio.bilibili.Maodun.net.qiujuer.library.clink.core;

import java.io.Closeable;

/**接收的数据调度封装
 * 把一份数据或者多份IoArgs组合成一份Packet
 * @author Ziroom
 *
 */
public interface ReceiveDispatcher extends Closeable {

	void start();

	void stop();

	interface ReceivePacketCallback {

		void onReceivePacketComplated(ReceivePacket packet);

	}

}
